package com.atguigu.mySmartCampus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="tb_clazz")
public class Clazz {
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    private String name;
    private String number;
    //介绍
    private String introducation;

    private String headmaster;
    private String telephone;
    private String email;
    //ps  用年级id应该更合适
    private String gradeName;
}
